package com.gs.xbinfomytest.entity;

import com.gitee.hengboy.mybatis.enhance.common.annotation.Column;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Id;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Table;
import com.gitee.hengboy.mybatis.enhance.common.enums.KeyGeneratorTypeEnum;
import lombok.Data;
import java.io.Serializable;

import java.sql.Timestamp;

/**
 * 定时任务调度日志表
 * @author ApiBoot Mybatis Enhance Codegen
 */
@Data
@Table(name = "sys_job_log")
public class SysJobLog implements java.io.Serializable {

    /**
     * 任务日志ID
     */
    @Id(generatorType = KeyGeneratorTypeEnum.AUTO)
    @Column(name = "job_log_id")
    private Long jobLogId;
    /**
     * 任务名称
     */
    @Column(name = "job_name")
    private String jobName;
    /**
     * 任务组名
     */
    @Column(name = "job_group")
    private String jobGroup;
    /**
     * 调用目标字符串
     */
    @Column(name = "invoke_target")
    private String invokeTarget;
    /**
     * 日志信息
     */
    @Column(name = "job_message")
    private String jobMessage;
    /**
     * 执行状态（0正常 1失败）
     */
    @Column(name = "status")
    private String status = "0";
    /**
     * 异常信息
     */
    @Column(name = "exception_info")
    private String exceptionInfo;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Timestamp createTime;
}

